package com.javaclimb.jxnu.dao;

import com.javaclimb.jxnu.domain.History;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HistoryMapper {
   History selectbyid (int user_id, int post_id);
   void deletebyid(int user_id, int post_id);
   void addhistory(int user_id,int post_id,String post_title,String post_abstract,String post_cover);

   List<History> selectAllHistory(int user_id);

}
